package com.netease.b.a;

import android.content.Context;
import android.text.TextUtils;
import com.netease.f.b;
import com.netease.framework.a.m;
import com.netease.pris.atom.ad;
import com.netease.pris.b.a;
import com.netease.pris.c.h;
import com.netease.pris.c.l;
import com.netease.pris.protocol.c;
import com.netease.pris.v;

public class x extends ag
{
  static final String a = "PRISLoginTransaction";
  m b;
  String c;
  String d;
  int e;

  public x(String paramString1, String paramString2, int paramInt)
  {
    super(1);
    this.c = paramString1;
    this.d = paramString2;
    this.e = paramInt;
  }

  protected void a(int paramInt, Object paramObject)
  {
    if ((paramObject != null) && ((paramObject instanceof com.netease.pris.protocol.d)))
    {
      com.netease.pris.protocol.d locald = (com.netease.pris.protocol.d)paramObject;
      if (locald.g != null)
      {
        b localb = locald.g.c("pris:urs");
        if (localb != null)
        {
          String str = localb.a("id");
          if (!TextUtils.isEmpty(str))
            this.c = str;
        }
      }
    }
    if (!o())
    {
      d.h().b(this.c, this.d);
      Context localContext = d.h().a();
      a.a(this.c);
      a.c(this.d);
      if (!h.f(localContext, this.c))
      {
        l.e(localContext, this.c);
        v.a().k();
      }
      h.a(localContext, this.c, this.d);
    }
    c(paramInt, new Integer(this.e));
  }

  public void b(int paramInt, Object paramObject)
  {
    if (paramInt == 403)
      d(paramInt, null);
    while (true)
    {
      d.h().g();
      return;
      super.b(paramInt, paramObject);
    }
  }

  public void c()
  {
    if (!a.S())
    {
      d(10001, "");
      d.h().g();
      h();
    }
    while (true)
    {
      return;
      this.b = c.a(this.c, this.d);
      a(this.b);
    }
  }

  public void e()
  {
    super.e();
    d.h().g();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.a.x
 * JD-Core Version:    0.6.0
 */